package com.shop.mapper;

import com.shop.pojo.Leavebill;
import com.shop.pojo.LeavebillExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LeavebillMapper {
	int countByExample(LeavebillExample example);

	int deleteByExample(LeavebillExample example);

	int deleteByPrimaryKey(Long id);

	int insert(Leavebill record);

	int insertSelective(Leavebill record);

	List<Leavebill> selectByExample(LeavebillExample example);

	Leavebill selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") Leavebill record, @Param("example") LeavebillExample example);

	int updateByExample(@Param("record") Leavebill record, @Param("example") LeavebillExample example);

	int updateByPrimaryKeySelective(Leavebill record);

	int updateByPrimaryKey(Leavebill record);
}